<?php
require('config.php');

        $tiezi_id=$_REQUEST['tiezi_id'];
		$sql="update ".$oto."_posts set `dianNum`=`dianNum`+1 where id='{$tiezi_id}'";
		$result=$db->query($sql);
		if($result)
		{
			$data[0]['pan']="true";
		}
		else
		{
			$data[0]['pan']="false";
		}
		echo json_encode($data);
?>